package com.aldobucchi.x.mx.collections.IList.op
{
	import mx.collections.IList;
	import mx.events.CollectionEvent;
	
	import com.aldobucchi.utils.IOperator;
	import com.aldobucchi.x.flash.events.EventListenerSpec;
	
	public class AbstractListOp implements IOperator
	{
		
		
		protected var iList:IList;
		

		private var els:EventListenerSpec = new EventListenerSpec( CollectionEvent.COLLECTION_CHANGE, iList_collectionChange )		
		
		
		public function AbstractListOp( iList:IList )
		{
		
			this.iList = iList;
			els.addToDispatcher( iList );

		}
		
		
		
		public function dispose( ):void
		{
		
			els.removeFromDispatcher( iList );
		
		}		
		
		
		protected function iList_collectionChange( event:CollectionEvent ):void
		{
			
				
		
		}
		
		
		
		
		
		
		

	}
	
}